import express from "express";
import {getUserAll, addGuPiao, updateUserGuPiao, deleteUserGuPiao, getUserIp} from '../controllers/gp.js';
let router = express.Router();

router.get('/getallgp', getUserAll);
router.get('/addgp', addGuPiao);
router.get('/updategp', updateUserGuPiao);
router.get('/deletegp', deleteUserGuPiao);
router.get('/getip', getUserIp);
export default router;


